package com.zx.model.order;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;


@Data
@NoArgsConstructor
@AllArgsConstructor
/*订单详情类*/
public class OrderDetails {
    private Integer id;                      //明细id
    private Integer orderId;                 //订单id
    private Integer orderAddressId;          //收货id
    private String  shopName;                //商店名字
    private BigDecimal freight;              //运费
    private Integer goodsQuantity;           //商品数量
    private String  goodsImg;                //图片
    private Integer userId;                  //用户id
    private Date createTime;                 //创建时间
    private Date updateTime;                 //修改时间
    private Integer available;               //可用
    private Integer goodsId;                 //商品id
    private String goodsName;                //商品名字
    private BigDecimal totalAmount;          //总金额
    private BigDecimal payAmount;            //实际支付金额
}
